#ifndef CPLAYER_H
#define CPLAYER_H
#include "cocos2d.h"

using namespace cocos2d;

class CPlayer
{
public:
	CPlayer();
	~CPlayer();
public:
	CCSprite*  getEntity(){return m_pEnt;}
	float getSpeed(){return m_Speed;}

	CCPoint &  getPos(){return m_Pos;}
	void setPos(CCPoint aPoint);
	const CCPoint& getScreenPos() const
	{
		return m_ScreenPos;
	}

	void update(float dt);

protected:
	CCSprite *   m_pEnt;
	float m_Speed;
	CCPoint m_Pos;
	CCPoint m_ScreenPos;
};

#endif